Travelpayouts\components\Translator S

Total Complexity 30
Dependencies 7
Dependents 17
Total lines 280
Lines of code 89
Logical lines of code 50
Comment lines 23
Methods 12
Properties 9

Methods 12

Method Rating Maintainability Complexity Lines of code
getSupportedLocales()
A
52 8 25
addArrayTranslations()
S
63 5 10
getLocale()
S
70 3 6
addTranslations()
S
68 3 7
addTranslation()
S
63 3 10
getLocaleKeys()
S
70 2 6
init()
S
63 1 10
setLocale()
S
81 1 3
getTranslator()
S
82 1 3
trans()
S
78 1 3
hasTranslation()
S
78 1 3
getArrayTranslatedStrings()
S
82 1 3